Failed attempt to copy some of the pixels of an image