Yes, you can transfer your data by using the feature of a universal clipboard. All you need to transfer copied data between the devices is that they need to be connected with the same Apple Id and should have the handoffs on to transfer data between each other.