Added delete upon copy for test purpose