Replaces lattice array functions (isArrayEqual, copyArray) with std namespace copy and equal