The only thing that matters in regards to body composition is macronutrient and caloric intake. Specific foods are not important, as long as you hit your macronutrient goals. It really is that simple.
If you have two people who eat the same exact macronutrient breakdown and use identical training routines, their results will be nearly identical even if one eats healthy and one eats junk (again, provided macro breakdown between the two are identical). Now, health is another story.
RE: Fitness Blog # 6 : Best Muscle Mass Gaining Diet (No Supplements)