public static void copyStream ( File inputFile , File outputFile ) throws IOException { InputStream is = new FileInputStream ( inputFile ) ; try { copyStream ( is , outputFile ) ; } finally { is . close ( ) ; } }
Copies the content from inputFile into outputFile .