Create New Array From Existing Javascript Wikipedia