// changing type of an array from Dog to Dalmatian
Dog[] dog = new Dog[ 10 ];
dog[0] = new Dalmatian();
...
Dalmatian[] dalmatians = Arrays.copyOf( dogs, dogs.length, Dalmatian[].class );