The copyField method copies a sub field to another sub field. If the target sub field exists it is overwritten.


copyField ( from, to [, case])


Argument Description
from (string) The name of the field to copy.
to (string) The name of the field to copy to.
case (boolean) A boolean that specifies whether the from argument is case sensitive. The argument is case sensitive by default (true).