Array() reproduction code