dict(K.copy(V)) returns a shallow copy of the dictionary. This is done by creating a new dictionary and entering all items of the old into the new dictionary. The copy is shallow, because only the dictionary is copied, not the items. This is usually sufficient and much faster than a deep copy.
