Copies composite data between different Ruby data structures.