copy folder foo into folder bar

cp -r /path/to/foo /path/to/bar

if folder bar exists before issuing the command, then foo and its content will be copied into the folder bar. However, if bar does not exist before issuing the command, then the folder bar will be created and the content of foo will be placed into bar