[step:Verify that composing a copula with marginal distribution functions gives a joint distribution function]
Conversely, let $C:[0,1]^p\to[0,1]$ be a $p$-copula and let $F_1,\dots,F_p$ be univariate distribution functions. Define
\begin{align*}
G: \mathbb{R}^p &\to [0,1],\\
(x_1,\dots,x_p) &\mapsto C(F_1(x_1),\dots,F_p(x_p)).
\end{align*}
Since each $F_j$ is nondecreasing and $C$ is nondecreasing in each coordinate, $G$ is nondecreasing in each coordinate. Since each $F_j$ is right-continuous and $C$ is right-continuous, $G$ is right-continuous.
Let $a_j,b_j\in\mathbb{R}$ satisfy $a_j<b_j$ for every $j$. The $G$-mass of the rectangle
\begin{align*}
(a_1,b_1]\times\cdots\times(a_p,b_p]
\end{align*}
is
\begin{align*}
\sum_{\varepsilon\in\{0,1\}^p}
(-1)^{p-\varepsilon_1-\cdots-\varepsilon_p}
G(y_{\varepsilon,1},\dots,y_{\varepsilon,p}),
\end{align*}
where $y_{\varepsilon,j}=b_j$ if $\varepsilon_j=1$ and $y_{\varepsilon,j}=a_j$ if $\varepsilon_j=0$. Substituting the definition of $G$ gives the corresponding $C$-mass of the rectangle
\begin{align*}
(F_1(a_1),F_1(b_1)]\times\cdots\times(F_p(a_p),F_p(b_p)]
\end{align*}
inside $[0,1]^p$, which is nonnegative because $C$ is a copula. Thus $G$ has nonnegative rectangle probabilities.
Finally,
\begin{align*}
\lim_{x_1,\dots,x_p\to\infty}G(x_1,\dots,x_p)=C(1,\dots,1)=1,
\end{align*}
and if $x_j\to-\infty$ in any coordinate, then $F_j(x_j)\to0$, so the groundedness of the copula gives
\begin{align*}
G(x_1,\dots,x_p)\to0.
\end{align*}
Therefore $G$ is a joint distribution function on $\mathbb{R}^p$.
[/step]