From http://www.snipplr.com/view/70857/java-fast-file-copy-using-nio/