Here’s how to copy a symbolic link which is also known as a soft link from one directory to another. A regular copy command will not work. You will need to use the -P option to copy the symbolic link from one directory to another. If omitted, the symbolic links will not be copied.

<pre lang="bash">
cp -P /directory1/* /directory2/

How to create a symbolic link.

<pre lang="bash">
ln -s sourcefile myfile
ln -s /path/to/file myfile

Here are the man pages for ln and for cp.