def copy_dictionary(dictionary: dict) -> dict:
    """
    Create a copy of a dictionary, so that both copies contain the same values, but none of
    them are modified if elements are included to or excluded from the other dictionary.
    """
    result = {}
    for key in dictionary:
        result[key] = dictionary[key]
    return result