I often find myself wanting to copy the contents of arrays that have a constant size, I usually just write something along the lines of:
float a[4] = {0,1,2,
For interested in C++03 (and also C) solution - always use struct containing an array instead of solely array:
struct s { float arr[5]; };
Structs are copyable by default.
Its equivalent in C++11 is,already mentioned, std::array;
std::array;