Allocate correct buffer size for srcClrArray