copies all the files from src to dest folder

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))