Copying field from one module to another with letters like &

Copying field from one module to another with letters like &

I have a custom function that copy fields from Account to Contacts (and opposite) as a workaround since we can simply use a formula to display the field of a parent module.

All worked nicely until a customer added a symbol & in a field. The function just fail. 

How can I fix that?