The only way this can ever happen, I think, is if humans are able to model the building blocks of the brain (i.e neurons) and the processes that created it (i.e. evolution), because there's just no way we'll ever understand all of the emergent behavior of a human brain, as I see it. After all, don't you need something vastly more complex than the thing you're studying in order to understand it?