copyImage call corrected