title: How do you write zero copy in java? What are the main differences
body: <p>I was reading about how you can use the java nio library to take advantage of file transfer/buffering at the O/S level which is called 'zero copy'.</p>
  
  <p>What are the differences in how you create/write to files then?
  Are there any drawbacks to using zero-copy?</p>