How to create a Chest/Container System from the Inventory Drag&Drop System!

Sorry for the mess and that i took so long. this should be the part that transfers the data even though the last pictures are commented as move thing inside inventory or move inside chest the same code works with the actionbar perfectly.!alt text