i'm guessing your code still doesn't quite do what you want.
In fact, It gives me a compilation error. Remember than an array is a CONTAINER of things, not the things themselves. If you had an egg carton full of eggs, you don't try and put the carton into your cake batter, but some of the things inside the container.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
A nearby thread suggests another way to create your arrayThe new int bit and the , shown in the /* */ comment are optional. If you don't have the declaration on the same line, then the new int bit becomes compulsory.