Switched ZeroBuffer to a memset as opposed to a for loop
Changed back to a memcpy function. Kept old version in comments just in
case.