def METHOD_NAME(from_folder, to_folder):
    for bin_file in glob.glob(f"{from_folder}/*.bin") \
        +  glob.glob(f"{from_folder}/*.idx") \
        +  glob.glob(f"{from_folder}/dict*"):
        try:
            shutil.move(bin_file, to_folder)
        except OSError as error:
            print(error)      