How would I get TileMap1's tiles then set a TileMap2's tiles to the tiles from TileMap1?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Mr. Gamezz

I am attempting to get the tiles from a tilemap and then set a different tilemap to the tiles from the other tilemap. How would I do this?