I've read the comment on FileChannel
's transferFrom
* <p> This method is potentially much more efficient than a simple loop
* that reads from the source channel and writes to this channel. Many
* operating systems can transfer bytes directly from the source channel
* into the filesystem cache without actually copying them. </p>
What does it mean by
Many operating systems can transfer bytes directly from the source channel
into the filesystem cache without actually copying them.
If I read from a Channel and then write it to another channel, doesn't it transfer bytes into cache ?