import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
class CopyFile {
publicstaticvoid main(String args[]) throws IOException {
int i;
FileInputStream fin;
FileOutputStream fout;
fin = new FileInputStream(args[0]);
fout = new FileOutputStream(args[1]);
do {
i = fin.read();
if (i != -1)
fout.write(i);
} while (i != -1);
fin.close();
fout.close();
}
}