hmm, you need to provide the same value twice now, both here, and when using `copy_cmd`

how about this:

```python
copy_cmd = "mkdir -p %(start)s/%%(target)s && cp %%%s %(start)/%%(target)s" % {'start': my_startdir}
```

and then below:

```python
... copy_cmd % {'target': 'src'}
```