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