Create array dump function.
Added size to function.