I need to loop over an associative array and drain the contents of it to a temp array (and perform some update to the value).
The leftover contents of the first arra
MAINARRAY=( "${TEMPARRAY[@]}" )