public static void copyFile ( File copyFrom , File copyTo ) throws IOException { InputStream from = new FileInputStream ( copyFrom ) ; OutputStream to = new FileOutputStream ( copyTo ) ; copyStream ( from , to ) ; }
Copy a file to a file location