word arrangement in a text file

i need a command that let me to arrange words in a text file written like that:test1test2 test3and i wanna them to be arranged like this:test1;test2;test3with the addition of the semicolon.....plz help and thanks in advance.

The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Compnet Ventures, LLC hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.