Use direct memory access to modify array.