I2C question

I am a newbie with I2C.

in the i2c_devices.lib there is functions for the eeprom 24c08.
how would i modify this routine to read the 24c08.

Any examples?

24c08 8 Kbit part
24c04 4 Kbit part.

I tried using the example with the following lines.

char read_string[513];

read_string[0] = 0x00;

It reads 0x00 in read_string

do i have the address correct?