How to Make an Eye Target Bone Move Eye Bones? (Flat Eyes)
I assume that your "curves" are custom shapes for your bone rig. You can add a simple "damped track" bone constraint to the pupil's bone, pointing to the target; then you can animate the "influence" parameter to control the pupil either with the target bone (influence 1.0) or the pupil bone (influence 0.0).