About the use of the copy constructor (C++)