


copies a list of fields from a source to a target structure
fields -> cell array of strings. entries in the cell array can also be an other cell array
with two string entries: src and target. (to rename fields).
i.e. fieldsSrc = {'a1',{'a2','a3'}, {'from','to'})
will copy target.a1=src1 and target.a3=src2.
urut/may07