Is it is safe to download this

I have read online that unreal engine might be some kind of virus i just wanted to know if it is a virus or not?

No, especially that you can view the source and see what it can do and build the source.

But if build engine from source there some chance of some antivirus may raise some false positives alerts