Converting A Java Array To A ColdFusion Array

<!--- Create an empty ColdFusion array. --->
<cfset arrGirls = ArrayNew( 1 ) />
 
<!---
	Add all the elements of the list to the new
	ColdFusion array. Since the List impliments the
	Collections interface, this will work quite nicely.
--->
<cfset arrGirls.AddAll(
	arrGirlList
	) />
 
<!--- Add a new girl to the array. --->
<cfset ArrayAppend(
	arrGirls,
	"Madonna"
	) />
 
<!--- Dump out the true ColdFusion array. --->
<cfdump
	var="#arrGirls#"
	label="Array via AddAll( LIST )"
	/>

For Cut-and-Paste