New polyfills and function for array

Basic support for Iterator and Set
Array has a copy function