FileChannel
のコメントを読みました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>
とはどういう意味ですか?
Many operating systems can transfer bytes directly from the source channel
into the filesystem cache without actually copying them.
チャネルから読み取ってから別のチャネルに書き込むと、バイトがキャッシュに転送されませんか?