Quick question about procedural triangles

Hi. If I have doubled triangle in array (for procedural mesh component, TArray<int32>) will engine draw it twice? For example, the array looks like this {0, 1, 2, 0, 1, 2} or {0, 1, 2, 2, 0, 1}