Genetec interview question

What is a copy constructor in C++?