replace links by copies