// 复制文件。如果目标文件存在,会被覆盖。
private static void copyFile(File srcFile, File destFile)
throws IOException {
FileInputStream inStream = new FileInputStream(srcFile);
FileOutputStream outStream = new FileOutputStream(destFile);
FileChannel inChannel = inStream.getChannel();
FileChannel outChannel = outStream.getChannel();
inChannel.transferTo(0, inChannel.size(), outChannel);
inStream.close();
inChannel.close();
outStream.close();
outChannel.close();
}*** walker ***
















