Curry powder is actually not a traditional Indian ingredient (Indian curry recipes usually call for garam masala instead). While you can use curry powder as a substitute for garam masala, it won’t have quite the same flavour due to the different mix of spices used.  If you’re looking to replicate a specific curry flavour (such as x or y), you should use the relevant spice blend to suit that recipe if possible.