Now deepCopy() is a static method. Thus there is no more need in checking if some ptr is NULL before calling ptr->deepCopy()