Also, Dozier's greatest asset is his power, and he's a righty pull hitter whose home runs go almost exclusively to the left. That could be a problem in PNC Park, which mutes power to left field. And Dozier's 42-homer 2016 season was a breakout in what had previously been a career defined by good but not outstanding hitting, thanks to a pre-2016 career batting average of just .240. Trading for Dozier now might require the Pirates to pay heavily for a 2016 performance he doesn't seem likely to replicate, especially not in Pittsburgh.
Also, bumping Josh Harrison to a utility role would likely require the Pirates to send Adam Frazier, who currently figures to occupy that role, back to the minors. I might be overreacting to Frazier's fine hitting in 2016, but swapping Frazier for Harrison on the active roster might be little more than a lateral move at this point.
Obviously, though, swapping Harrison/Frazier for Dozier/Harrison wouldn't be a lateral move at all. Dozier is a good power hitter in his worst seasons, and his ability to draw walks gives him a high floor even if his power dips in PNC. He's also an average defender at second, a rare quality in a player with a 40-homer season under his belt. He's a far better player than Harrison. The Pirates can, as Spector notes, afford to add Dozier, and doing so would be a way to try to push what now looks like a good-not-great Pirates team over the hump. I wonder, though, whether Dozier is the right player to make that kind of move with.