Note that while viliml's example is not incorrect, it is not a good idea to use pass by value for copy constuctors. The canonical form uses pass by const ref.
And constructors should use the constructor initializer list to initialize member variables.