Let $A$ be an infinite set and let $S$ be the set of all bijections $A \rightarrow A$. Then if $\mid A \mid = \kappa$, then $\mid S \mid = 2^\kappa$.
I'm able to prove it for $A = \mathbb{N}$ by showing an injection $P(\mathbb{N}) \rightarrow S$, but how can I prove it for any set $A$?