Fix numItems bug in copy constructor