implemented copy constructor in Note.java