cp(1) -r /var/www/html/wp-config-sample.php /var/www/html/wp-config.php
copy files and directories
-R, -r, --recursive
       copy directories recursively
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
source manpages: cp