FIS.transferTo assumes that all bytes are transferred by FC.transferTo. There are cases where a short write is possible, meaning not all bytes that are transferred. FIS.transferTo needs to use a loop to ensure all bytes are transferred.
In passing, the {@inheritDoc} is not needed.
In passing, the {@inheritDoc} is not needed.