Replace symlinks copied to target/checkout by copies

We must ensure no sources (symlinks pointing to sources) are modified during the build.