I am using memcpy to copy the contents from buffer1 to buffer2. I use memcpy to copy buffer3 to buffer4.
My question is this: Is there a way to append buffer4 to buffer2 so that I don't overwrite any of the data in buffer2? or alternatively can I copy buffer2 and buffer4 to another buffer?