If the array is rectangular, as in your example, you can do this with only one distribution:
int* array = new int[width * height];
This effectively aligns the array in one dimension, and it is much faster.
Of course this is C ++, why don't you use std::vector<std::vector<int> > ?
source share