Correcting checking if all pthotos were copyed