open them both for binary access...
open the destination file as append...
write a long integer to the start of the file with the length of the first picture in bytes, and then add both the pictures.

when you need to read them out again, just get the long integer out first, and then read that many bytes (then you'll have the first picture), then the rest will be entirely taken over by the second picture.

Phew!