Hey there! That feature doesn't exist yet. However, there are plans on doing something similar in an upcoming update!
Being able to give resources seems like a bad idea IMO. There would b no challenge. A high lvl could give lowbies all they would ever need without putting a dent in there storage. Unless, it's like a 1:1 trade of gold for grog or vice versa.
There could be a mechanic that only allows trading on the same PH level, or you are limited to a certain percentage to fill the storage on the receivers side. There are ways to do that.
I find the idea good as you can support fellow players to grow or maybe help your guildmate to upgrade his guildhall etc. But indeed it seems like a good idea to limit the amount a player can share. say 100.000 of each to one player, up to three players a day?