add arrayBuffer to the replay context