Fix for getArrayCopy to return many data