Write a program CopyFile that copies one file to another. The file names are specified on the command line. For example,

java CopyFile report.txt report.sav

Complete the following file:

CopyFile.java

import java.io.FileNotFoundException; import java.io.File; import java.io.PrintWriter; import java.util.Scanner; /** This program copies one file to another. */ public class CopyFile { public static void main(String[] args) throws FileNotFoundException { if (args.length != 2) { System.out.println("Usage: CopyFile sourcefile targetfile"); return; } String source = args[0]; . . . } }