Lua Methods Reference > LuaDocument Methods > copyFieldNoOverwrite

The copyFieldNoOverwrite method copies a field value to a new field but does not overwrite the existing value. After calling this function the target field will contain all values of the source field in addition to any values it already had.
copyFieldNoOverwrite( sourcename, targetname [, case])
(boolean) A boolean that specifies whether sourcename is case-sensitive. The name is case sensitive by default (true).