Just invoke a batch file to copy the file, or use the OS gui to copy the file for you.

If it must be in Java, use the BufferedWriter and FileWriter classes to write out to a file, and Scanner or...