Yip man was real (1, 2, 3, 4, 5, 6, 7). He was a famous student of Wing Chun. My guess is that you're referring to the 2008 movie, Ip Man. However, it was not historically accurate. Quoting its Wikipedia page:
Film4's review detailed the departures from history: "The real Ip Man was never, despite the film's assertions to the contrary, forced from bourgeois idleness into work by the hardships of the Second Sino-Japanese War, nor was he ever employed as a coolie in a colliery – rather he chose of his own accord to work as a policeman (a profession lightly ridiculed within the film) before the Japanese invasion, and he continued in this line for several years after the war until Communist disapproval of his wealth and political affiliations drove him into voluntary exile in Hong Kong (an inconvenient truth that the film elides as tactfully as Ip Man mitigates the impact of his own victories). While, during the war, Ip Man did indeed refuse to teach his martial arts to the military police of the occupying Japanese – a decision which eventually forced him to flee Foshan – he certainly never had a duel with a Japanese general."
So, although the film had inaccuracies, Yip Man was as real as any other human.