Copy multi Array to larger multi array.

Hi, I have an array

unsigned char tekena [5][5] PROGMEM = {{0,1,1,1,1},{1,0,1,0,0},{1,0,1,0,0},{0,1,1,1,1},{0,0,0,0,0}};
unsigned char tekenb [5][5] PROGMEM = {{1,1,1,1,1},{1,0,1,0,1},{1,0,1,0,1},{0,1,0,1,0},{0,0,0,0,0}};
unsigned char tekenc [5][5] PROGMEM = {{0,1,1,1,0},{1,0,0,0,1},{1,0,0,0,1},{0,0,0,0,0},{0,0,0,0,0}};

During my code i want to fill another array which is defined as

unsigned char Text [50][5][5];

so how do i copy the complete array from progmem to the other array without reading and writing every value independently

Kind regards

Johan

I have not used this library, but evidently there is an extended EEPROM library which has a block move function. You can read more about it at:

http://thijs.elenbaas.net/2012/07/extended-eeprom-library-for-arduino

What board are you using? The large array chews up 1250 bytes and that may be a problem on some boards.

so how do i copy the complete array from progmem to the other array without reading and writing every value independently

Why is using two (nested) for loops such a burden?

jl-p:
so how do i copy the complete array from progmem to the other array without reading and writing every value independently

Even if you find a library to do a block move, that library is still going to be reading and writing every value independently anyway, so you're not going to gain any speed or efficiency vs doing it yourself.

oke thx.
i will do it that way.

Kind regards

Johan