Until end of turn, if target player would draw a card, instead that player skips that draw and you draw a card.
If you target a player whose library is empty, any effect or turn-based action that would cause that player to draw a card will cause you to draw a card instead. It doesn’t matter that the other player would be unable to draw.