Also, in case you want to use the built-in ofSerial with Arduino, I just pushed an example from my class using Arduino / ofSketch (which is just header-only openFrameworks code).
https://github.com/SAIC-ATS/ARTTECH-5010/tree/master/Week_4/SerialFullDuplex
The ofSketch portion will answer your question of reading in and writing arrays from Arduino more directly.