You can use the Adobe Experience Manager com.adobe.granite.asset.api.AssetManager API to manage your digital assets located in the AEM DAM. Using this API, you can perform tasks such as checking to determine if assets exist, moving assets, retrieving assets, and so on. For information about this API, see AssetManager.
This development article walks you through how to build a custom AEM service using the AssetManager API that copies a PDF document (the digital asset used in this example) from one DAM folder to another.
To read this development article - click https://helpx.adobe.com/experience-manager/using/graniteAPI.html.