public static void main(String[] args) throws IOException { int n; try (InputStream rawFile = new FileInputStream(args[0]); OutputStream toFile = new FileOutputStream(args[1])) { while ((n = rawFile.read()) != -1) toFile.write(n); } }
Sign in to make a reply
_崔先生_