Simple fix for copying array of arrays