It's not clear what you actually want.
how about
{
unsigned char orig[4] = { 0xB1, 0xE3, 0xCC, 0xBB };
unsigned char tmplt[4] = { 0x00, 0x00, 0xF9, 0xDD };
orig[2] = tmplt[2];
orig[3] = tmplt[3];
}
or
{
unsigned char orig[4] = { 0xB1, 0xE3, 0xCC, 0xBB };
unsigned char tmplt[4] = { 0x00, 0x00...