change name variable of firstImageToCopy to firstImageNumber