Replace one object with a different one of the same type. This function replaces the contents of `fromObj` object with those of `toObj`, so all references ot it remain valid.
(fromObj, toObj)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected