Refactored out copyDeltas() helper func.