Validate the allocated array in NDArrayPool::copy
Merge pull request #22 from jabrnthy/NDArrayPool-ValidateNewArray

Validate the allocated array in NDArrayPool::copy