replace array keys with given respective keys
array_combine(
['newKey1', 'newKey2', 'newKey3'],
array_values(['oldKey1' => 1, 'oldKey2' => 2, 'oldKey3' => 3])
);
This should do the trick as long as you have the same number of values and the same order.
IMO using array_combine, array_merge, even array_intersect_key is overkill. The original code is good enough, and very fast.
array_combine(array_merge($old, $keyReplaceInfoz), $old)
I think this looks easier than what you posed.