I don't think that's the same, is it? That's just Spotify letting you play files on your local device.
With YT Music you upload them from one device to the YT Music cloud, and then any device can access them/stream from the YT Cloud. You can't upload your music to Spotify, only use it to access media that's stored locally on your device.