If it's just an array that needs to be copied, you could just write

```js
var files = builder.config.styles.slice();
```

am I wrong?