Hi there,
You can simply login to your Steam Account on your new PC and download your games from there, and for League of Legends (Haven't played it), it should be a relatively similar method. You should be able to to install LoL on your new PC and sign into your account from there, which will then retrieve your account data from their servers and make it default for your PC.
Best of luck,
~XY_Z