You can not do it by FileChannel
, you can use apache commons io :
IOUtils.copy(new FileInputStream(file), new FileOutputStream(file2));
// copy file and preserve the time stamp. the sourceFile and destFile are of type java.io.File
FileUtils.copyFile(sourceFile,destFile);
Reference : http://www.studytrails.com/java-io/file-copying-and-moving-deleting.jsp