I wanted to make a copy of the array. I was not sure what is the ruby idiom for that, so if you now a cleaner way I can simply change :)