Remove symlinks before duplicating directory