Equivalent of Object.assign, which IE11 does not support.
Optional
Optional list of keys to use to copy values from o2 to o1. If this is not provided, all values are copied.
o2
o1
Equivalent of Object.assign, which IE11 does not support.