swpartc project is a simple but reliable utility for copying the data contents of one file or partition into another one and vice versa without losing a bit.
The partitions must have the same size. It uses a crash recovery technique (a small back-up file), which means that even if the process is killed or the computer crashes, the user can safely resume the swapping operation later.
What's easier than the GNU build system?
./configure && make && make install
For the last stage `make install` you will need root privilages.
That means typing `su -l` before running `make install`.
If this isn't possible type:
./configure --prefix =/home/Your_home_directory_here && make && make install
After the installation you can access the manual by typing `man swpartc` for details about running `swpartc`.