code: public void copy(Priority priority)
  
     {
  
        if (priority == null)
  
           throw new IllegalArgumentException("priority required in Priority");
  
        
  
        this.primaryKey = priority.primaryKey;
  
        this.name = priority.name;
  
        
  
     }
docs: --------------------------------------------