Duping arrays
Fix testcompile