The dialogue is taken straight from the comic book. This looks to be a very close adaptation of the the six-issue Hudlin/Romita Jr arc that kicked off Hudlin's Black Panther
You can see the pages for the first issue, which includes the sequence in the trailer, here
. The later reference to Captain America will likely be removed because of rights issues.
I'm very surprised to see them using what is essentially a modern version of the slightly animated art approach that was used in the Marvel animated shows of the 1960s. I can't make up my mind yet how I feel about it.