I have two very large structure. Both have few fields common amongst them but also have unique fields. What I am trying to do is copy content of these common fields to a third structure based on a certain condition which structure to copy. Now here comes the main problem. I don't want to write two different functions for copying. Like for exampleI have two very large structure. Both have few