Safely copy pairs