Hello Dranne,
There is 2 things that need to happen.
1. When the code is compiled the compiler needs to know that this is what you intended to do. Otherwise it will operate relative to the flash address when it does a branch etc rather than the ram that you have moved it to.
2. You need to copy over the code in your flash boot code and point the PC to it once it is all copied.
This is a valid thing that you want to do. I am using the Greenhills compiler and it provides an example to do what you ask. I have also done this before in Windriver and I remember that they also described how to do this in their documentation.
Regards,
Dayve