public function packageDrupalBuild($build_root)
    {
        $project_root = ProjectX::projectRoot();
        $build_install = $build_root . static::installRoot();
        $install_path = $this->getInstallPath();

        $stack = $this->taskFilesystemStack();
        $static_files = [
            "{$project_root}/salt.txt" => "{$build_root}/salt.txt",
            "{$install_path}/.htaccess" => "{$build_install}/.htaccess",
            "{$install_path}/index.php" => "{$build_install}/index.php",
            "{$install_path}/robots.txt" => "{$build_install}/robots.txt",
            "{$install_path}/update.php" => "{$build_install}/update.php",
            "{$install_path}/web.config" => "{$build_install}/web.config",
            "{$install_path}/sites/default/settings.php" => "{$build_install}/sites/default/settings.php",
        ];

        foreach ($static_files as $source => $destination) {
            if (!file_exists($source)) {
                continue;
            }
            $stack->copy($source, $destination);
        }

        $mirror_directories = [
            '/config',
            static::installRoot() . '/libraries',
            static::installRoot() . '/themes/custom',
            static::installRoot() . '/modules/custom',
            static::installRoot() . '/profiles/custom'
        ];

        foreach ($mirror_directories as $directory) {
            $path_to_directory = "{$project_root}{$directory}";
            if (!file_exists($path_to_directory)) {
                continue;
            }
            $stack->mirror($path_to_directory, "{$build_root}{$directory}");
        }
        $stack->run();

        return $this;
    }