Soviet shuttle

Why did the USSR build a „copy” of the space shuttle?