Correct me if I am wrong, but the UIImage does not comply with NSCopying, so you cannot copy it successfully.
What you probably want to do is save the image. If self.currentpicture is a save property, it will automatically release the previous object and save the new one, so just do the following:
self.currentpicture = img;
Otherwise, do it yourself:
[self.currentpicture release]; self.currentpicture = [img retain];
In both cases, you still have to call [self.currentpicture release] when you no longer need the image. Usually you do this in the dealloc method of the "self" object.
source share