Lösung Copy File I/O Java Streams
It’s easier to optimize correct code than to correct optimized code.
Joshua Bloch