java.io streams copy one byte array at a time through user space. java.nio Channels read and write directly into ByteBuffer containers that track four cursors—making zero-copy file transfers and memory-mapped I/O possible when you understand flip() and compact().
More lessons in Complete Core Java