What is the pipe coming out of the floor made of?
Assuming its iron,and not lead,if you follow the pipe downwards,you should find an elbow,then its just a case of unscrewing the upstand from the elbow,leaving a female thread,then use a male iron to copper elbow,and you can divert it anyway you...