How to change size of readstring() in client.read() on Arduino Ethernet?

How can I copy the "clientIP" value to another array? because I need to compare them afterwards..
I managed to receive the remote IP address but I don't know how to save it.

Start with showing this code.

If you get the IP address as a string, that is not the same type as an IPAddress.

If you have the IP address as 4 bytes, you can simply declare two IPAddress variables, using the same 4 bytes.

If you want to copy the 4 byte array, use a for loop, and copy each element of the array.