A man holding a baby waved his hand and the baby did the same