def PCSMenu_localFileCopy(self):
        """ Copies userSetup.mel, Maya.env and PCSlobalSetup.mel """

        usrSetupFile = pcsPath.Path('%s%s' % (internalVar(userScriptDir=True), 'userSetup.mel'))  # @UndefinedVariable
        mayaEnvFile = pcsPath.Path(about(environmentFile=True))

        # userSetup.mel
        if usrSetupFile.exists():
            targetPath = '%s/data/%s/%s_networkCopy%s' % (
                self.PCSlogLocation, self.userName, usrSetupFile.namebase, usrSetupFile.ext)
            copyfile(usrSetupFile, targetPath)

        # Maya.env
        if mayaEnvFile.exists():
            targetPath = '%s/data/%s/%s_networkCopy%s' % (
                self.PCSlogLocation, self.userName, mayaEnvFile.namebase, mayaEnvFile.ext)
            copyfile(mayaEnvFile, targetPath)
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/core/sysGlobalMenu.py/MayaMenu.PCSMenu_localFileCopy/original