So I know that there are direct object pronouns in Spanish. Normally, you could substitue the direct object noun (i.e. the object, like in "I walked the dog," where the direct object is the dog) with the direct object pronoun ("I walked it") and vice versa. But, in cases where the direct object is a person, you would either have to say their name or their pronoun (i.e. "I saw Dave" vs "I saw him"). Normally, this wouldn't be as much of a problem because I could always switch out the actual person object with the pronoun, but in cases where it is not talking about a specified person or that it's indefinite.
So, normally you could use "lo" as the direct object pronoun for him, and I'm fairly certain this is how I should do it (i.e. "Veo a Dave" vs "Lo veo"). But I'm not sure about how to say "I am him."
When I looked it up on Google Translate (which I know is bad), it kept saying "Yo soy él", and it also said when I searched it up that to provide clarity I could say "a él" after the direct object pronoun, but I'm not sure if this is correct because it's not the correct direct object pronoun. The biggest struggle is that I can only use pronouns, because there is not a definite object to refer to. So does anyone know how I'd say "I am him" or any others similar to it like "I am her" or "I am them" etc?