fin = new FileInputStream(sourceFileName);
FileChannel in = fin.getChannel();
// Now get the output channel
WritableByteChannel out;
fout = new FileOutputStream(strDestFilename); // open file stream
out = fout.getChannel(); // get its channel
long numbytes = in.size();
in.transferTo(0, numbytes, out);