Only Connors (109) has won more titles than Federer, however, at 37 years old, the world No 3 does not think he has the time remaining to become the most decorated player of the professional era.
Federer hinted after his latest victory that he may not play at the Swiss Indoors in the future.
Federer's 151st singles final on the ATP tour shaped as one of his biggest mismatches by ranking.
Despite the win, Federer will be displeased with himself for dropping his own serve on five occasions, including three times in the second set.
It's the second final of the year for Copil.
His qualification means there are two places still up for grabs ahead of the Paris Masters, with Croatian Marin Cilic, Austrian Dominic Thiem, Nishikori and American John Isner still in the race. "There were a lot of breaks, it was all up and down".
"I played quite good tennis, it was an incredible week", he said.More news: Neil Warnock attempts mind games ahead of Liverpool clash
More news: Jordan Pickford on spot for Everton again to save Paul Pogba's penalty
More news: Megyn Kelly absent from show following blackface comments
"But I kept my cool and got the job done".
Federer struggled into the semifinals on Friday, the top seed eking out an error-filled 7-6 (7/1), 4-6, 6-4 defeat of Gilles Simon.
Joe Salisbury and Neal Skupski beat America's Mike Bryan and France's Edouard Roger-Vasselin 7-6 (5) 6-3 in the doubles final in Vienna. The inspired Romanian's booming serves and lobs created tension St Jakobshalle but the local favourite won five straight games to complete another memorable win. He has never lost a final to an opponent ranked below No. 87.
It took top seed Federer just 19 minutes to secure the opening set against Medvedev.
Federer fought back from 5-2 down in the first set to force a tie-break, where he began to take control of the match as he converted seven of eight points to snatch the lead on the hour mark.
But the veteran clawed his way back to 4-4 and broke again to lead 5-4.
"It will be a challenge but I'm excited to see how I feel tomorrow, playing a young guy", said Federer. But a quick match point opportunity two games later allowed Federer to close as his opponent sent a return over the baseline.