This looks like a manually implement `zend_hash_copy()` call.