Is there an easier way to copy a folder and all its content without manually doing a sequence of fs.readir, fs.readfile, fs.writefile
If you are on Linux, and performance is not an issue, you may use the exec function from child_process module, to execute a Bash command:
const { exec } = require('child_process');
exec('cp -r source dest', (error, stdout, stderr) => {...});
In some cases, I found this solution cleaner than downloading an entire module or even using the fs module.