Linux - copy folders with files

cp -R /var/www/from/my_dir /var/www/to/my_dir