first "copy" is the name of the python package (see "import copy" above); second "copy" is the name of the function.