Take a look at
$$L = \{a^nb^nc^ma^mb^kc^l : n, m, k, l \geq 0\}.$$
Now take some $x \in L$ with $x = ww$, then $x = a^nb^nc^ma^mb^kc^l$ for some $n, m, k, l \geq 0$.
There's only one possible way to split $x$ into two equal parts $w$:
$$w = a^nb^nc^m = a^mb^kc^l.$$
Note that for distinct symbols $c_i$, $c_1^{n_1}c_2^{n_2}...c_k^{n_k} = c_1^{m_1}c_2^{m_2}...c_k^{m_k}$ implies $n_i = m_i$ for all $i$.
From this we know that
- $n = m$,
- $n = k$, and
- $m = l$.
So from 1. it follows that $A(L) = \{a^nb^nc^n : n \geq 0\}$ which is known to be not context-free.
To prove that $L$ is context free, note that $L$ can be generated by the following context-free grammar with start variable $S$:
$$S \to ABCD$$
$$A \to aAb | \varepsilon$$
$$B \to cBa | \varepsilon$$
$$C \to bC | \varepsilon$$
$$D \to cD | \varepsilon$$