Copy all files
Copy all files from one directory to another (including dotfiles)
cp -a old/. new
This command says copy cp, recursively -a from old/. (the present directory . from within old) to new
Copy all files from one directory to another (including dotfiles)
cp -a old/. new
This command says copy cp, recursively -a from old/. (the present directory . from within old) to new