It would have been nice to see or read which function you used with which parameters.
There is, BTW, a post in the FAQs about copying one field to another: