private function copyTemplateConfig()
    {
        $dirPath = $this->bundle->getPath();
        $pagepartFile = $dirPath.'/Resources/config/pageparts/'.$this->template.'.yml';
        $namespace = $this->generateFormPageParts ? $this->bundle->getNamespace() : 'Kunstmaan\FormBundle';
        $this->filesystem->copy($this->skeletonDir.'/Resources/config/pageparts/formpage.yml', $pagepartFile, false);
        GeneratorUtils::replace('~~~ENTITY~~~', $this->entity, $pagepartFile);
        GeneratorUtils::replace('~~~FORM_BUNDLE~~~', $namespace, $pagepartFile);

        $pagetemplateFile = $dirPath.'/Resources/config/pagetemplates/'.$this->template.'.yml';
        $this->filesystem->copy($this->skeletonDir.'/Resources/config/pagetemplates/formpage.yml', $pagetemplateFile, false);
        GeneratorUtils::replace('~~~BUNDLE~~~', $this->bundle->getName(), $pagetemplateFile);
        GeneratorUtils::replace('~~~ENTITY~~~', $this->entity, $pagetemplateFile);
    }