@@ -0,0 +1,647 @@
+import java.io.*;%0A%0A/**%0A * Utility class to copy a file.%0A * @author ghelmer%0A *%0A */%0Apublic class CopyFile %7B%0A%09public static final int BUFFER_SIZE = 4096;%0A%0A%09public static void copy(File srFile, File dtFile) throws IOException%0A%09%7B%0A%09%09BufferedInputStream in = new BufferedInputStream(new FileInputStream(srFile));%0A%09%09BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dtFile));%0A%0A%09%09byte%5B%5D buf = new byte%5BBUFFER_SIZE%5D;%0A%09%09int len;%0A%09%09while ((len = in.read(buf)) %3E 0)%7B%0A%09%09%09out.write(buf, 0, len);%0A%09%09%7D%0A%09%09in.close();%0A%09%09out.close();%0A%09%09long modTime = srFile.lastModified();%0A%09%09if (modTime != 0L)%0A%09%09%7B%0A%09%09%09dtFile.setLastModified(modTime);%0A%09%09%7D%0A%09%7D%0A%7D%0A

Move source files into src directory. Add CopyFile class.