Why zero the memory? The following loop sets every entry in the array.