If the library on your new machine has all the songs in it then yes. Easy way to check is turn off home sharing and if your new computer has all the tracks then you can go ahead and delete it off the old computer.
Don't forget if you want all the play lists over as well
From the top menu File > Library > Export Library.
Then import on the new machine and you will still have all your playlists. They do not transfer via home sharing