File src = new File("d:\chengcheng.swf");
File dest = new File("e:\cheng\chengcheng.swf");FileInputStream in = new FileInputStream(src);
FileOutputStream out = new FileOutputStream(dest);try
{
  byte[] buf = new byte[1024];
  int offset = 0;
  int ret = 0;
  while ( (ret = in.read(buf,offset,1024)) != -1)
  {
     out.write(buf,offset,ret);
  }
}
  catch (IOException e)
  {}