Just do
def copy(src, dst):
if os.path.islink(src):
linkto = os.readlink(src)
os.symlink(linkto, dst)
else:
shutil.copy(src,dst)
shutil.copytree does something similar, but as senderle noted, it’s picky about copying only directories, not single files.