cp command is used to copy files and folders. The structure is the following:
cp <options> <source1> <source2> <source3>... <destination>
This are some of the most useful option:
recursive, will copy also internal directories and their contents.
Without this option, cp by default will skip on internal directories.
archiving, when copy files and directories, also copy their attributes, including ownership and permission. By default cp will take the default attribute of the user.
interactive, before overwriting, will ask for permission.
update, will copy the file only if it is doesn’t exist in the destination or newer than the destination.
verbose, display informative information.