Change the method by only copy the next node to the deleted one and delete the next one