public Category(Category c) { this.name = c.name; this.imagepath = c.imagepath; this.foods = c.foods; this.altimagepath = c.altimagepath; }