I think the cause is that your array isn't sized correctly to hold the values. Quoting from the manual entry on arrays: "Arrays do not automatically resize. If you access a value outside the array bounds, it returns the number 0. If you set a value outside the array bounds, it will have no effect."
You can see that you are getting the value "0" returned instead of your array contents as described.
Have you adjusted the size of your array ("width" and "height" under properties) so that they are the correct size? Even though you're not using it in your example you also need to set the depth to a size of 1 or higher, as if any dimension of the array is size 0 the entire array is considered empty.
Does that help?