def copy_file_if_update_required(source_file, target_file):
    """Copies source_file to target_file if latter one in not existing or outdated

    :param source_file: Source file of the copy operation
    :param target_file: Target file of the copy operation
    """
    if file_needs_update(target_file, source_file):
        shutil.copy(source_file, target_file)
Copies source_file to target_file if latter one in not existing or outdated

    :param source_file: Source file of the copy operation
    :param target_file: Target file of the copy operation