bug fixes

fixed copyVertex method