Replace C arrays with std::array
#2951
+107
−94
Merged
std::array
#2951