GetIntArray()method

useful to get int[]