added copy constructor for grayscale bitmap