Remove exchangeArray() and getArrayCopy()