protected function copy(Gpf_Io_File $source, Gpf_Io_File $target) { parent::copy($source, $target); $installedTemplate = new Gpf_Db_InstalledTemplate(); $installedTemplate->setName(substr($source->getFileName(), $this->sourceOffset)); $installedTemplate->setContentHash(md5($source->getContents())); $installedTemplate->insert(); }