Why array pointer is returning wrong values

okay then how can I get dataBytes array out off the UpdateArray method?