What about : 
```php
$this->copy($output, [
    ['source' => 'login/common/templates.html.twig', 'target' => 'home/login/templates.html'],
    ['source' => 'admin/fields/templates.html.twig', 'target' => 'admin/fields/templates.html'],
    ['source' => 'admin/task-manager/templates.html.twig', 'target' => 'admin/task-manager/templates.html'],
]);
```
```php
private function copy(OutputInterface $output, $data)
{
    foreach ($data as $paths) {
        $output->writeln(sprintf("Generating %s", $this->container['root.path'] . '/www/scripts/tests/fixtures/'.$paths['target']));
        $this->container['filesystem']->copy(
            $this->container['root.path'] . '/templates/web/'.$paths['source'],
            $this->container['root.path'] . '/www/scripts/tests/fixtures/'.$paths['target']
        );
    }
}
```