If you REALLY care to know, John 1:2 isn't redundant but speaks volumes more than the first verse.
He is drawing attention to a 'beginning' somewhere in scriptures, and that is Genesis 1:1.
John 1:2 should say ''this was 'the beginning' with God'' since it's not sound to say 'the beginning in the beginning'.
The beginning refers both to an individual and a particular moment;
Reuben, thou art my firstborn, my might, and the beginning of my strength, the excellency of dignity, and the excellency of power:
It is the same 'beginning' meant here but which only a few translations didn't alter what was meant concerning it, one of them being;
They said therefore to him: Who art thou? Jesus said to them: The beginning, who also speak unto you.
This is of God in the sense that Reuben is 'the beginning of Jacob', and the Beginning with God in Genesis 1:1 by whom 'God created the heavens and the earth' but which verse caused such a diversion in the way Genesis is interpreted.
Another place that refers to these beginnings is in Isaiah where generations of creatures were 'called from' this 'beginning': The same generations in Genesis 2:4.
Who hath wrought and done it, calling the generations from the beginning? I the LORD, the first, and with the last; I am he.
NB this particular beginning in Isaiah is NEVER a point in time but the head of/over something.
A little more qualification on this concept of a beginning is yet found in
In Deu 21:17
But he shall acknowledge the son of the hated for the firstborn, by giving him a double portion of all that he hath: for he is the beginning of his strength; the right of the firstborn is his.
There are plenty of places in scriptures that illustrate this beginning to indicate beings at the time when they ONLY were with God, referred to as sons of God, denoted also as firstborns or firstfruits, looking at one or two of these places;
1 chronicles 17 speaks of this beginning as a specific time.
1 Ch 17:9
Also I will ordain a place for my people Israel, and will plant them, and they shall dwell in their place, and shall be moved no more; neither shall the children of wickedness waste them any more, as at the beginning.
This doesn't refer to the time of judges after that Israel came out of Egypt, if anything that was a period of the most wickedness done in Israel, in comparison to King David's time being the time of Israel at its most pious.
That 'beginning' is the time which God tells King David that He is taking all Israel back to and no 'sons of unrighteousness' would ever trouble them, these sons signifying spirit entities that wreak havoc in man's conduct before God;
These seen here;
Their deeds will not allow them To return to their God. For a spirit of harlotry is within them, And they do not know the LORD
And Messiah unveils how they work. Luke 11:24 When the unclean spirit is gone out of a man..seeking rest; and finding none, he saith, I will return unto my house whence I came out.
26 Then goeth he, and taketh to him seven other spirits more wicked than himself; ..and the last state of that man is worse than the first.
These are the sons of wickedness in 1 chronicles 17 who will not go to the 'place of Israel' to 'make them afraid', a time as the time of this 'beginning' when wickedness didn't have free reign and righteousness 'flowed like a river.'
A little more on these beginnings elsewhere signified as firstfruits;
From Sirach a relegated book to the 'extra biblical', we have this time signified as the 'time of the firstfruits' when creatures walked in wisdom of God's ways( the wise woman qualified as the Laws of Moses), that is, this wisdom 'flowed like 'Pishon', etc.
22..Whoever obeys me will not be put to shame,
and those who serve me will never go astray.”
23 All this is the book of the covenant of the Most High God,
the Law which Moses commanded us
as a heritage for the community of Jacob
25 It overflows, like the Pishon, with wisdom,
and like the Tigris at the time of first fruits.
26 It runs over, like the Euphrates, with understanding,
and like the Jordan at harvest time.
27 It floods like the Nile with instruction,
like the Gihon at vintage time.
Another peculiarity, the rivers in Genesis 2:10 became four 'beginnings or heads'
This is the kind of 'beginning' in John 1:2 who was with God, as God.