okay so let me make sure I understand what you are saying to do.
I want to make sure that the second array call ( highTemp[ix + 1] ) doesn't overwrite my first array.. so I should make a copy of my highTemp to another temporary array then replace the highTemp[ix + 1] with my temporary array?
ix+1 is valid only if the arrays have such element. If an array has size count (or less), then on last iteration ix=count-1 and therefore ix+1 is not valid.
that makes a ton of sense thanks for clearing that up.. how would I be able to do something like that without getting the final error of ix+1 not being valid?