import copy


def overwrite_notnull(v1, v2, **kwargs):  # pylint: disable=invalid-name,unused-argument
    """
    Completely overwrites one value with another, if not None.
    """
    if v2 is None:
        return copy.deepcopy(v1)
    return copy.deepcopy(v2)