Copy function was calling invalid function, preventing duplication from taking place.
Slashes are removed from server side input which was appearing from the change code dialog.