title: Timestamp in file name JS
body: <p>I want to add a time stamp to a XML file while it's copy from location A to B.</p>
  
  <pre><code>const fs = require('fs');
  
  // destination.txt will be created or overwritten by default.
  fs.copyFile('\\\\IP\\FOLDER\\FILE.xml', 'c:\\FOLDER\\FILE.xml', (err) =&gt; {
    if (err) throw err;
    console.log('OK! Copy FILE.xml');
  });
  </code></pre>
  
  <p>The copy works, but I have no idea how to add the time stamp.</p>