Added ability to copy symlinked directories

Just a little fix to add ability to copy symlinked directories.