python怎么copy文件

>>> import shutil
>>>
dir(shutil)
['Error', '__all__', '__builtins__', '__doc__', '__file__', '__name__', '_samefi
le
', 'abspath', 'copy', 'copy2', 'copyfile', 'copyfileobj', 'copymode', 'copysta
t
', 'copytree', 'destinsrc', 'move', 'os', 'rmtree', 'stat', 'sys']
>>>
shutil.copyfile('d:/c.sql','d:/cc.sql')
>>>