swpartc 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.