Switch between 2 cameras smoothly

Hello everyone,

I am using this code to switch between 2 Cameras:

public class P1ToCam : MonoBehaviour
{
    public GameObject P1Cam;
    public GameObject Cam;

    void OnTriggerEnter()
    {
        P1Cam.SetActive(false);
        Cam.SetActive(true);
        Cam.transform.position = P1Cam.transform.position;
        Cam.transform.rotation = P1Cam.transform.rotation;
    }
}

And everything is working as expected, except there is a very small glitch (few frame skips which is noticeable) while switching. Please help me on making this camera switch completely unnoticeable.

I guess this might help

Transform .posotion =vector3.lerp (cam1position,cam2position,speed)

Put this in update method of script attached to cam2
After that disable cam1