Yes, it spends the same outputs, but due to the RBF flag most nodes will see this as intended behaviour and thus "allow" it.
RBF also allows you to spend the same outputs to other "addresses" much easier, which is why 0-conf services (casino's) will usually only accept non-RBF transaction to be eligible. (to prevent the "double-spending" of unconfirmed transactions.)