How can I convert a List to an Array in FreeMarker?
<p>I have this Array (<em>SimpleSequence</em>):</p>

<pre><code>&lt;#assign arrayList = [100, 200, 300, 400, 500] /&gt;

&lt;#list arrayList as item&gt;
    &lt;#assign addToArray = "&lt;p&gt;" + item + "&lt;/p&gt;" /&gt;
&lt;/#list&gt;
</code></pre>

<p>I want to add the <code>addToArray</code> to a new Array.</p>

<p>How can I accomplish this?</p>