If it's a retail copy it's allowed by the license terms. If it's an OEM copy it is tied to the machine it was originally installed on and would not be transferable.