def METHOD_NAME(src, dest):
	if os.path.isdir(src):
		if not os.path.isdir(dest):
			os.makedirs(dest)
		files = os.listdir(src)
		for file in files:
			yield from METHOD_NAME(os.path.join(src, file), os.path.join(dest, file))
	else:
		print('copying {} to {}'.format(src, dest))
		shutil.copyfile(src, dest)
		yield str(dest)