Bugfix for copy symlink; When the destination directory exists the symlink will be copied inside this directory. Solved this by removing the existing directory at the new location
e.g. the media folder is a symlink when you copy this to the new location this will become media/media