How to copy folder in nodej
npm install shelljs
const shell = require('shelljs')
The -a option is an improved recursive option, that preserve all file attributes, and also preserve symlinks.
The . at end of the source path is a specific cp syntax that allow to copy all files and folders, included hidden ones.