ございます not でございます (though I'm not sure if they are the same or not). ございます as used in おはようございます and in ありがとうございます. I heard it's use is as similar as です, it's also a state-of-being meaning "to be".
In おはようございます and in ありがとうございます, can we replace ございます with です?