public static void main(String[] args) throws IOException {
  FileInputStream in = null;
  FileOutputStream out = null;
  int b=0;
  
  in = new FileInputStream("C:\\Users\\宇超\\Desktop\\web\\1.html");
  out = new FileOutputStream("C:\\Users\\宇超\\Desktop\\hello.txt");
  while((b=in.read())!=-1){
   //char c = (char)b;
   out.write(b);
  }
  
  in.close();
  out.close();
  System.out.println("文件复制结束");
 }