open_in_new
content_copy
var fs = require('fs'); fs.createReadStream('test.log').pipe(fs.createWriteStream('newLog.log'));