fix link script again

turns out that 'cp' doesn't work very well when there are symlinks in
the target paths; going back to the old approach