fix bug where looped copyTo / addTo wouldn't loop