cp -a /path/from /path/to
The -a flag turns on recursive behaviour (which can also be done with the -R flag), and will also attempt to preserve metadata such as file ownership, permissions, timestamps, links, etc.
source: I want to copy a directory from one place to another via the command line