Export with original Created Modified dates

I am recovering some images from an icloud backup. I have the images and can see the original Created and Modified dates. Is there a trick to get those extracted with the original dates intact? My test creates new dates for the files.
Perhaps there is a processing module I should have run?
Thanks