int intLengtharrRedGreenBlue = sizeof(arrRedGreenBlue) / sizeof(arrRedGreenBlue[0]);
That value is NOT the length of the array. It is the number of elements in the array.
memcpy( arrCurrentColorset, arrRedGreenBlue, intLengtharrRedGreenBlue );
That function wants the number of bytes to copy (the size of the array), NOT the number of elements in the array.