def METHOD_NAME(original_medias, dest_project, dest_type, section):
    for media in original_medias.iterator():
        new_obj = media
        new_obj.pk = None
        new_obj.project = Project.objects.get(pk=dest_project)
        new_obj.type = MediaType.objects.get(pk=dest_type)
        if section:
            new_obj.attributes["tator_user_sections"] = section.tator_user_sections
        yield new_obj