What ist the fastest way to copy a big number of files in Java. So far I have used file streams and nio. Overall streams seem to be faster than nio. What experiences did you mak
You can use either FileUtils implementation of apache commons-io library to copy file
FileUtils.copyFile(new File(sourcePath), new File(destPath));
Which uses FileChannel for IO operation.
Or use java.nio.file.Files's copy() method.
java.nio.file.Files
copy()