The first array instantiation is useless, since it is erased on the very next line.
Actually, no, I was completely and utterly wrong. Let's say it's getting late...
I think this code is worth a change as it's quite unclear.
Usually, the pattern is the following:
Having it in 2 lines is quite misleading and it would avoid creating another issue for the same problem in 2 months .