import java.io.*;
public class Test {
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
copy();
}//main()
static void copy() throws IOException{
FileReader fr = new FileReader("E:/StormMedia/十月围城DVD国语修正中字无水印[6VDY.COM原创].rmvb");
BufferedReader br = new BufferedReader(fr);
FileWriter fw = new FileWriter("F:/ting/十月围城DVD国语修正中字无水印[6VDY.COM原创].rmvb");
BufferedWriter bw = new BufferedWriter(fw);
int b =0;
while((b = br.read())!=-1){
bw.write((char)b);
} //只需要循环writer,条件是reader的条件
bw.flush();
bw.close();
br.close();
}
}//class
public class Test {
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
copy();
}//main()
static void copy() throws IOException{
FileReader fr = new FileReader("E:/StormMedia/十月围城DVD国语修正中字无水印[6VDY.COM原创].rmvb");
BufferedReader br = new BufferedReader(fr);
FileWriter fw = new FileWriter("F:/ting/十月围城DVD国语修正中字无水印[6VDY.COM原创].rmvb");
BufferedWriter bw = new BufferedWriter(fw);
int b =0;
while((b = br.read())!=-1){
bw.write((char)b);
} //只需要循环writer,条件是reader的条件
bw.flush();
bw.close();
br.close();
}
}//class