bin/waterlock-auth-methods.js
function(src, dest){
      self.logger.info('generating '+dest); 
      fs.createReadStream(src).pipe(fs.createWriteStream(dest)); 
    }
function(src, dest){
      self.logger.info('generating '+dest); 
      fs.createReadStream(src).pipe(fs.createWriteStream(dest)); 
    }
function ( src , dest ) { self . logger . info ( 'generating ' + dest ) ; fs . createReadStream ( src ) . pipe ( fs . createWriteStream ( dest ) ) ; }
copies the source to the destination

@param  {String} src  the source file
@param  {String} dest the destination file
copies the source to the destination