Copies all own property descriptors (including symbols, getters, and non-enumerable entries) from source onto target.
source
target
Destination object
Source object whose own descriptors are copied
The target object
Copies all own property descriptors (including symbols, getters, and non-enumerable entries) from
sourceontotarget.