private function replaceCurrentVersionbyNewVersion() { $this->fs->copy($this->newInstallerFile, $this->currentInstallerFile, true); return $this; }