That "Copy items to iPhoto library" toggle refers to any devices you connect to your Mac, like an iPhone. If it's checked, iPhoto will automatically grab any photos on the device and import them. If you un-check it, iPhoto will leave connected devices alone.
What you did, when you dragged folders full of photos into iPhoto, was specifically tell iPhoto to go ahead and import the images.