In the course that has the images,
- go to Administration -> Files
- check boxes next to all images you want to copy
- in the "With chosen files" menu at the bottom, select "create zip archive"
- once the zip file is created, click it; this will bring up a dialog allowing you to download the file to your local disk
- go to Administration -> Files
- click the "Upload a file" button and upload the zip file from your local disk
- once the zip file is uploaded, click the "Unzip" link (to the right of the file name)
After doing this, your image links may still be broken. If so, you have another step. If there aren't too many images, I would suggest doing it manually. First, note the course number of the target course (look in the address bar for the id=x at the end of the URI). For each quiz question containing an image...
- Edit the question (click the hand-with-pencil icon)
- Toggle HTML mode (<> button in editor)
- Replace the course number in the image src by the course number of the target course.
- Toggle back to normal mode and you should see the image