Do you have shutil.pyPython in your standard distribution kit (for example, in Ubuntu, my under /usr/lib/python2.6, maybe Windows C:\Python26\lib?). The copytree function has a length of only 38 lines (34 if you do not consider comments), and the end of the docstring explicitly indicates:
XXX Consider this example code rather than the ultimate tool.
, / copytree , .