The one you're thinking of is likely The Parent Trap.
It centers on twins separated at birth who scheme to reunite their family—a classic story that's appeared in a few different versions over the years.