There was a special area on the ark with a slight incline and an open end. The animals would "go the the bathroom" in this area and the crew would wash it off over the side with brooms and water. This gave rise to the expression "poop deck."
I hope this helps.