If you try to copy a source directory into a symlink to a target directory, you may get an error like:
cp: cannot overwrite non-directory 'symbolic-link' with directory 'source'.
The solution is to actually copy the
. directory of your source directory.
This is not obvious based on the GNU coreutils FAQ or the man page.
Below is an example to explain:
vagrant@devbox:~/foo$ mkdir bin