def copy(self, items=None): command.CopyCommand(self.list, items or []).do()
def copy(self, categoriesToCopy): command.CopyCommand(self.categories, categoriesToCopy).do()