package test2;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
public class TestIO2 {
public static void main(String[] args) throws IOException {
File inputFile = new File("c:/面对巨人片段.rmvb");
FileInputStream input = new FileInputStream("c:/面对巨人片段.rmvb");
FileOutputStream output=new FileOutputStream("../面对巨人片段_复制.rmvb");
int i;
while((i=input.read())!=-1){
output.write(i);
}
input.close();
output.close();
}
}