Added condition to regard null-check for copy constructor's argument