def copy_files(from_path: str, to_path: str, extension: str):
    files = os.listdir(from_path)
    for file in files:
        if file.endswith(extension):
            shutil.copy(((from_path + '/') + file), to_path)
def copy_files(from_path: str, to_path: str, extension: str):
    files = os.listdir(from_path)
    for file in files:
        if file.endswith(extension):
            shutil.copy(((from_path + '/') + file), to_path)