code: def copy_files_to_folder(src, dest, xtn='*.txt'):
  	 
  	
  	try:
  		all_files = glob.glob(os.path.join(src,xtn))
  		for f in all_files:
  			copy_file(f, dest)
  	except Exception as ex:
  		print('ERROR copy_files_to_folder - ' + str(ex))
docs: copies all the files from src to dest folder