fixed CopyElement in CommonHomalgTableForMAGMATools

this was a stupid copy/paste bug (while copying corresponding code for Singular)