# importing required packages
from pathlib import Path
import shutil
import os
import time
# defining source and destination
# paths
src = 'nums'
trg = 'D:/'

files=os.listdir(src)

# iterating over all the files in
# the source directory
for fname in files:
	
	# copying the files to the
	# destination directory
	shutil.copy2(os.path.join(src,fname), trg)
	print(fname)
	time.sleep(2)
