'If the file already exists in the Startup Folder, then this will prevent any errors.         If IO.File.Exists(StartupFolder & "\SimpleShot.exe") Then             'wtf can i do to prevent an error here? the file is already there, so the error is 'file already exists'.             'the following method just deletes it, then rewrites it, but it's unneceessary disk activity and redundant. -,-             IO.File.Delete(StartupFolder & "\SimpleShot.exe")             IO.File.Copy(Application.ExecutablePath, StartupFolder & "\SimpleShot.exe")         End If