fix to copy directory with symlink