Win32 API working with arrays
===

I'm beginner of programmer. I not understande why can't copy some script from array to another one.

    char array1[11];
    char array2[2];
    array1 = {'255 105 85'};
    array2[0] = array1[0];
    array2[1] = array1[1];
    array2[2] = array1[2];

    MessageBox(hwnd,array2,"mes",NULL);

I was get "5" instead of "255".
I using the code::blocks with GCC complier.The project created with win32 frame based.
Somebody has idea what cause the problem?


