const fs = require('fs'); fs.cp('src/index.html','build/index.html', (err) => { if (err) throw err; console.log('Build was successful!'); });