leggere un array

Buona giornata ragazzi
vi chiedo cortesemente un aiuto, perché non so proprio come fare

ho questa array devo leggerla e porla su un buffer

const int buffer[258]
array
const bool A[] PROGMEM = {
1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,
0,0,0,0,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,
0,0,0,0,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,
0,0,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,
1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
};

qualche buona anima mi potrebbe indicare come fare

milefori:
vi chiedo cortesemente un aiuto, perché non so proprio come fare

google → arduino progmem = https://www.arduino.cc/reference/en/language/variables/utilities/progmem/

ho questa array devo leggerla e porla su un buffer

uint8_t my_buffer[240];
for (int i = 0; i < 240; i++)
{
    my_buffer[i] = pgm_read_byte_near(A + i);
}

Ciao Claudio
scusami se ti rispondo in ritardo
grazie delle info mi sono state molto utili