24c01 to 24c256

Just for the hell of it, I pulled a load of 24CXX chips from some old television/video recorder boards. And, again for just for the hell of it, I want to see if I can read what is on one EEPROM then write it to another (#include <Wire.h>). Is there a sketch to read or write to all of the chips from say 24C01 to 24C32 ? Or, am I looking at modifying a sketch dedicated for example just the 24C08 to work with a 24C16. Does not matter what is in the memory but would like to start with something like dump from a 24C02 and write it into a another 24C02 or higher. Just a new year project/task.

If you go to the library manager and search on 24c there are several libraries that claim to handle various 24Cxx chips. I have not tried any of them, so have no recommendation.

I have written a sketch to read the first 256 byte block of a 24c16. (Never got around to writing the second loop to read the rest of the blocks.)

I would recommend the I2C_EEPROM library, it could read/write to the 24Cxx chip that was in my USB stick.

P.S. the USB stick was broken already.

Thank you, I have added them all and in the process of trying them. So far, some seem to be dedicaed for the size listed in the sketch title. However Hexdump is working to some extent, although takes some time to list each address and it's value.