Revert "Merge pull request #19167 from lhadji/1007568/copy-symlink"

This reverts commit 4d7952a408a90ff9bcee40ac1836d8c5c4a4f252, reversing
changes made to f138172949ebce82084c986867c1c6dfe66bcf3d.