You should modify/extend the existing piping so that it comes to the appliance. PVC is not approved for water supply piping indoors.
If the house is piped with copper, I would stick with copper. You could use PEX or CPVC, keeping in mind that it has a smaller I.D. than the equivalent copper pipe size.