If you've already installed Oracle XE on both machines, then your software should be fine.
So if you want to copy your data, you can use one of Oracle's export/import tools:
http://docs.oracle.com/cd/B25329_01/doc/admin.102/b25107/impexp.htm
This will create an output file in a known format, which you can copy to the new machine. It will also ensure that the data and other DB objects can be imported correctly into your target database.
Don't try copying Oracle's own files around, as you'll almost certainly screw things up. There are standard Oracle tools for exporting/importing data, so why not use them?