def merge_two_dicts(dict1, dict2):
    """
    Helper function for merging two dictionaries into a
    new dictionary as a shallow copy.

    :param dict1: (dict) First of two dictonaries to merge
    :param dict2: (dict) Second dictionary
    :returns: Merged dictionary
    :rtype: dict
    """
    merged_dict = dict1.copy()
    merged_dict.update(dict2)
    return merged_dict