read the tutorial about how to load textures. if you assigned textures to the model (the .x file itself), they should be loaded automatically if they are in the same folder as the .x file
ps: "C:/xfiles/23copy.X" is bad, why not place the files in the project folder and load them with "data/media/models/23copy.x" for example? is much more organized
also, make sure your .X file is either in binary or ascii form, Irrlicht only works with one, can't remember which one. And make sure your textures are in the folder as the model.