Merge "Allocation copy functions."