Creates a Uint32List with the same length as the elements list and copies over the elements.
elements