cp.js
function(data, stats, callback) {
      fs.writeFile(_toFile, data, stats, function(err) {
        callback(err, _toFile);
      });
    }
function(data, stats, callback) {
      fs.writeFile(_toFile, data, stats, function(err) {
        callback(err, _toFile);
      });
    }
function ( data , stats , callback ) { fs . writeFile ( _toFile , data , stats , function ( err ) { callback ( err , _toFile ) ; } ) ; }
Write the new file in destination folder
Write the new file in destination folder