I'm replacing old dishwasher but the connectors are different
It is in your interest to understand / measure the connectors on the dishwasher and your water supply to select the right hose adapter.  

Perhaps one of these lines will allow you to bridge the new dishwasher into the existing water lines; 

https://www.amazon.com/s?k=dishwasher+line

If you are near a Home Depot or Lowe's try their websites as well.  Let us know when you are successful!

Best to minimize the number of parts: you may need an adapter to bridge your hose into the female copper piping fitting.



Whirlpool W10685193 Dishwasher Swivel Gooseneck Fitting. 3/4 by 3/8-Inch

Or get a flexible 3/8" steel braided supply line, that is however long you need, and then you don't have to mess with copper. Just make sure the other end will fit on the valve under the sink (e.g., you might need a 3/8" to 1/2"). The fitting pictured usually comes in the bag with 10' supply lines along with other adapters you might need.