pymel.core.system.saveAs

saveAs(newname, **kwargs)