Qualcomm interview question

What does copy constructor do in QTP