As demonstrated in the Arrays section of the Java Tutorials, the System class provides an arraycopy method that can be used to copy the contents from one array into another. The method below shows use ...
The following is a modified snippet from a draft of The Well-Grounded Java Developer. It gives you a quick taster of how much easier it is to manipulate files in Java 7 than in previous versions. By ...