Welcome to the Ranch
Please indent your code and use the
code button; I went back to your code and added code tags and doesn't it look better now
Beware of passing arrays around. Arrays in Java® are always mutable and all it takes is one line of code saying
myArray[i] = xyz; and you have broken your code everywhere you are using that array. You can copy arrays with their
clone() method.
I don't know of a shuffling technique readily available in Java® (Android might be different) but you can shuffle Lists (
link) or you can copy that technique to write your own
shuffle() method.