public static void copyFile(String fromFile,String toFile) throws IOException {
  copyFile(new File(fromFile),new File(toFile));
}

public static void copyFile ( String fromFile , String toFile ) throws IOException { copyFile ( new File ( fromFile ) , new File ( toFile ) ) ; }
helper method to copy file to a new location
