It's a shallow copy - don't think it will work for our case - since we have nested dicts (headers for example)