def copy_files_matching_pattern(file_path_pattern, dest):
 for file in glob.glob(file_path_pattern):
  shutil.copy(file, dest)

def copy_files_matching_pattern ( file_path_pattern , dest ) : for file in glob . glob ( file_path_pattern ) : shutil . copy ( file , dest )
copies files matching the specified pattern to the destination directory .