It's largely a metaphysical discussion.
If something can sense the world around it, process and store that information in a way that forms it's future outputs....then fundamentally it does everything a human does, it's just a matter of complexity.
Will it do everything a human does though? Humans do things that aren't logical.