removed commented out function recursiveCopy()