This can be shown by setting $x=2$ in the binomial expansion $$(1+x)^n=\binom{n}{0} +\binom{n}{1} x + \cdots + \binom{n}{n}x^n$$