<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def copy_files_to_folder(src, dest, xtn='*.txt'):
 	""" 	copies all the files from src to dest folder 	"""
 
	
	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))