Easy and isit works:
truncate --size=3000M system.img
mke2fs -t ext4 -L system_rw system_rw.img
sudo mount system_rw.img
sudo cp -R --preserve=all /path_to_the_ronly_system.img_mountpoint/. /system_rw_mountpoint
truncate --size=3000M system.img
mke2fs -t ext4 -L system_rw system_rw.img
sudo mount system_rw.img
sudo cp -R --preserve=all /path_to_the_ronly_system.img_mountpoint/. /system_rw_mountpoint
exampleExample for cp: (sudo cp -R --preserve=all /media/user/_/.cp
: /media/user/system_rw/)sudo cp -R --preserve=all /media/user/_/. /media/user/system_rw/
That's all folks.